#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )

package ${package}.infrastructure.adapter.xxx;

import ${package}.domain.xxx.adapter.IRedisServiceAdapter;
import ${package}.infrastructure.redis.IRedisService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("redisServiceAdapter")
public class RedisServiceAdapter implements IRedisServiceAdapter {
    @Resource
    private IRedisService redisService;

    public void setValue(String key, String value) {
        redisService.setValue(key, value);
    }
}
